package com.haoting.blogservice.service.impl;

import com.haoting.blogservice.entity.Comments;
import com.haoting.blogservice.mapper.CommentMapper;
import com.haoting.blogservice.service.CommentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tingting
 * @since 2020-12-21
 */
@Service
public class CommentServiceImpl extends ServiceImpl<CommentMapper, Comments> implements CommentService {

    @Override
    public List<Comments> getComment(String blogId) {
        return baseMapper.getComment(blogId);
    }

    @Override
    public List<Comments> getCommentClid(String blogId) {
        return baseMapper.getCommentClid(blogId);
    }
}
